A. mv *.* /bin/
B. mv * /bin/*
C. mv * ../bin
D. mv * ../bin *.*
Advertisement
Related Mcqs:
- Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories ?
- A. rm * B. rm -r * C. rm all D. rm *.*...
- Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory ?
- A. copy wb ../misc collect ../misc mon ../misc B. cp wb collect mon ../misc C. copy wb collect mon /misc D. tar wb collect mon /misc...
- Which option is used with the chmod command recursively to all files and sub-directories in a directory ?
- A. -1 B. -i C. -x D. -R...
- Which command is used to make all files and sub-directories in the directory (progs) executable by all users ?
- A. chmod -R a+x progs B. chmod -R 222 progs C. chmod -1 a+x progs D. chmod -x a+x progs...
- Which command is used to copy a file wb with the same name from the programs directory to the misc directory ?
- A. copy programs/wb misc/wb B. cp programs/wb misc C. tar programs/wb misc/wb D. copy a:programs/wb b:misc/wb...
- What command is used to count the number of files in the current directory by using pipes ?
- A. ls | ws – c B. ls | wc – w C. ls | wc – l D. ls | wc...
- The command to count the number of files in the current directory by using pipes, is_______________?
- A. ls | wc B. ls -l | wc -l C. ls | wc -w D. ls | ws -c...
- Which command is used to copy all files having the string chap and any two characters after that to the progs directory ?
- A. cp chap?? progs B. cp chap* progs C. cp chap[12] /progs/*.* D. cp chap?? /progs/*...
- Which command is used to list out all the hidden files along with the other files ?
- A. ls -l B. ls -x C. ls -F D. ls -a...
- Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory ?
- A. copy programs/wb misc/wbx B. cp programs/wb misc/wbx C. tar programs/wb misc/wbx D. copy a:programs/wb b:misc/wbx...
Advertisement